<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="UTF-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<title>Document</title>
		<style>
			* {
				margin: 0;
				padding: 0;
			}
			@media screen and (min-width: 680px) and (max-width: 1440px) {
				body {
					background: red;
				}
				.container {
					display: flex;
				}
				.box {
					flex: 1;
					height: 35px;
					background: lightcoral;
					margin: 5px;
				}
			}
			@media screen and (min-width: 375px) and (max-width: 680px) {
				body {
					background: lightblue;
				}
				.container {
					display: flex;
					flex-direction: column;
				}
				.box {
					/* flex: 1; */
					width: 80%;
					height: 45px;
					margin: 10px auto;
					background: rgb(228, 206, 11);
					/* margin: 5px; */
				}
			}
		</style>
	</head>
	<body>
		<div class="container">
			<div class="box"></div>
			<div class="box"></div>
			<div class="box"></div>
			<div class="box"></div>
		</div>
	</body>
</html>
